package com.chinatelecom.telecollege.sellerrewarding.repository;

import com.chinatelecom.telecollege.sellerrewarding.Entity.product;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by lenovo on 2017/6/21.
 */
public interface productRepo extends PagingAndSortingRepository<product, Integer> {
    product findById(int id);
    List<product> findAll();
}
